package org.sixdog.mcsit.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.sixdog.mcsit.po.User;

import java.util.List;

@Mapper
public interface UserDao {
    int insterUser(User user);
    int updateUser(User user);
    int deleteUserByUid(String uid);
    User selectUserByUid(String uid);
    List<User> selectUsers(@Param("user")User user, @Param("pageStart")int pageStart, @Param("pageSize")int pageSize);
    int updateUserByEmail(User user);
}
